<div class="row">
	<div class="col-sm-12">
		<div class="space"></div>
        
		<table width="100%" class="table table-striped table-bordered table-hover">
			<tr>
			    <th height="30">ID</th>
				<th height="30">用户</th>
				<th>园所</th>
				<th height="30">课程分类</th>
				<th height="30">课程列表</th>
				<th height="30">课包</th>
				<th height="30">教师</th>
				<th height="30">分数</th>
				<th height="30">内容</th>
				<th height="30">评论时间</th>
				<th height="30">操作</th>
			</tr>
			<?php if(!empty($evaluate_list)){foreach ($evaluate_list as $key=>$val){?>
			<tr>
			  <td height="30"><?php echo $val['id']?></td>
			  <td height="30"><?php echo $val['linkman'];?></td>
			  <td><?php echo $val['nursery_title']?></td>
			  <td height="30"><?php echo $val['cc_title'];?></td>
			  <td height="30"><?php echo $val['cl_title'];?></td>
			  <td height="30"><?php echo $val['cp_title'];?></td>
			  <td height="30"><?php echo $val['teacher_name']?></td>
			  <td height="30"><?php echo $val['star']?></td>
			  <td height="30"><?php echo substr_cn($val['message'],0,$substr_num)?></td>
			  <td height="30"><?php echo $val['create_date']?></td>
			  <td height="30">
			  <a href='/admin/evaluate/info?id=<?php echo $val['id']?>&per_page=<?php if(!empty($_REQUEST['per_page']))echo $_REQUEST['per_page']?>'>详情</a>
			   | <a href='/admin/evaluate/update?id=<?php echo $val['id']?>&status=1' onclick="if(confirm('确定要删除吗？')){return true;}else{return false;};">删除</a>			  </td>
		  </tr>
		  <?php }}else{?>
			<tr>
			  <td height="30" colspan="11"><div align="center"><?php echo $error;?></div></td>
		  </tr>
		  <?php }?>
	  </table>
		
		<div class="float_right">
			<?php echo $pagelink;?>
		</div>
	</div>
</div>
<!--content-->